package com.kkb.robotcustomerservice.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

/** 问题的实体类
 * @author Administrator
 */
@Data
@Component
@TableName("questions")
public class Questions {

    //@TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("question_name")
    private String questionName;
    private String answer;

}
